package com.hello.rabbitlistener;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;
import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) throws Exception {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(HelloRabbitListenerMqConfiguration.class);

        TimeUnit.SECONDS.sleep(10);
    }

}
